Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash with drawing swipe #3662

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Conversation

walt253
Copy link
Contributor

@walt253 walt253 commented Nov 11, 2024

No description provided.

@walt253 walt253 marked this pull request as ready for review November 11, 2024 15:49
units_per_px shouldn't be 0 too
no point trying to draw a zero-width sprite
@walt253 walt253 changed the title Fix crash with drawing swipe + fix recents build warnings Fix crash with drawing swipe Nov 13, 2024
@walt253 walt253 marked this pull request as draft November 14, 2024 15:50
@walt253 walt253 marked this pull request as ready for review November 14, 2024 15:50
Copy link
Member

@Loobinex Loobinex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested it not to work.

@Loobinex
Copy link
Member

To reproduce the crash:

  1. Download and install the halloween mappack
  2. Load this zipfile: fx1g0001.zip
  3. Wait for the ghost to break the door and start battle with the enemies
  4. Pick him up to and drop him elsewhere.
  5. Immediately possess him and left click to do an attack
    -> crash to desktop

@walt253 walt253 marked this pull request as draft November 14, 2024 20:08
@walt253
Copy link
Contributor Author

walt253 commented Nov 14, 2024

I cannot reproduce with this save, doesn't work for me even with the right files (mappack and alpha).

What does your log say now? Still a division by 0 with same function?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants